package com.kk;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * the class of Default (Template) Project
 *
 * <p>
 * .
 *
 * @author little_lunatic
 * @date 2023-08-04
 */
@SpringBootApplication
@Slf4j
public class DemoApplication {

    public static void main(String[] args) {
        // 1.ApplicationContextInitializer 应用程序上下文初始化
//        SpringApplication springApplication = new SpringApplication(DemoApplication.class);
//        springApplication.addInitializers(new TestApplicationContextInitializer());
//        springApplication.run();

        SpringApplication.run(DemoApplication.class, args);
    }
}